package com.zq.it.pojo.exam;

import com.zq.it.pojo.Student;

/**
 * StudentTask entity. @author MyEclipse Persistence Tools
 */

public class TStudentTask implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	private long id;
	private TClassTask TClassTask;
	private Student student;
	private TTask TTask;
	private Integer isdemote;
	private String demotionMessage;
	private Integer mark;
	private String taskUrl;
	private String taskFile;
	private String startTime;
	private Integer state;
	private String extendField;

	// Constructors

	public TStudentTask() {
	}

	/** minimal constructor */
	public TStudentTask(Student Student, TTask TTask, Integer isdemote,
			Integer state) {
		this.student = Student;
		this.TTask = TTask;
		this.isdemote = isdemote;
		this.state = state;
	}

	/** minimal constructor */
	public TStudentTask(Student Student, TTask TTask, TClassTask TClassTask,
			Integer isdemote, Integer state) {
		this.student = Student;
		this.TTask = TTask;
		this.isdemote = isdemote;
		this.state = state;
		this.TClassTask = TClassTask;
	}

	public TStudentTask(long id, TClassTask tClassTask, Student student,
			TTask tTask, Integer isdemote, String demotionMessage, Integer mark,
			String taskUrl, String taskFile, String startTime, Integer state,
			String extendField) {
		super();
		this.id = id;
		TClassTask = tClassTask;
		this.student = student;
		TTask = tTask;
		this.isdemote = isdemote;
		this.demotionMessage = demotionMessage;
		this.mark = mark;
		this.taskUrl = taskUrl;
		this.taskFile = taskFile;
		this.startTime = startTime;
		this.state = state;
		this.extendField = extendField;
	}

	// Property accessors

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}


	public Student getStudent() {
		return student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public TTask getTTask() {
		return this.TTask;
	}

	public void setTTask(TTask TTask) {
		this.TTask = TTask;
	}

	public Integer getIsdemote() {
		return this.isdemote;
	}

	public void setIsdemote(Integer isdemote) {
		this.isdemote = isdemote;
	}

	public String getDemotionMessage() {
		return this.demotionMessage;
	}

	public void setDemotionMessage(String demotionMessage) {
		this.demotionMessage = demotionMessage;
	}

	public Integer getMark() {
		return this.mark;
	}

	public void setMark(Integer mark) {
		this.mark = mark;
	}

	public String getTaskUrl() {
		return this.taskUrl;
	}

	public void setTaskUrl(String taskUrl) {
		this.taskUrl = taskUrl;
	}

	public String getStartTime() {
		return this.startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getExtendField() {
		return this.extendField;
	}

	public void setExtendField(String extendField) {
		this.extendField = extendField;
	}

	public TClassTask getTClassTask() {
		return TClassTask;
	}

	public void setTClassTask(TClassTask tClassTask) {
		TClassTask = tClassTask;
	}

	public String getTaskFile() {
		return taskFile;
	}

	public void setTaskFile(String taskFile) {
		this.taskFile = taskFile;
	}
}